<!DOCTYPE html><html lang="zh-Hans"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"><meta name="description" content="优雅的使用Sublime-Text3"><meta name="keywords" content=""><meta name="author" content="kyren"><meta name="copyright" content="kyren"><title>优雅的使用Sublime-Text3 | Kyren's Blog</title><link rel="shortcut icon" href="/melody-favicon.ico"><link rel="stylesheet" href="/css/index.css?version=1.9.0"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css?version=1.9.0"><meta name="format-detection" content="telephone=no"><meta http-equiv="x-dns-prefetch-control" content="on"><link rel="dns-prefetch" href="https://cdn.jsdelivr.net"><link rel="dns-prefetch" href="https://hm.baidu.com"><script>var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?cf87fcdbd9ab7cf93d894f7c219ae78f";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();</script><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><script src="https://v1.hitokoto.cn/?encode=js&amp;charset=utf-8&amp;select=.footer_custom_text" defer></script><script>var GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容:${query}"}},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  hexoVersion: '6.2.0'
} </script><meta name="generator" content="Hexo 6.2.0"></head><body><i class="fa fa-arrow-right" id="toggle-sidebar" aria-hidden="true"></i><div id="sidebar" data-display="true"><div class="toggle-sidebar-info text-center"><span data-toggle="切换文章详情">切换站点概览</span><hr></div><div class="sidebar-toc"><div class="sidebar-toc__title">目录</div><div class="sidebar-toc__progress"><span class="progress-notice">你已经读了</span><span class="progress-num">0</span><span class="progress-percentage">%</span><div class="sidebar-toc__progress-bar"></div></div><div class="sidebar-toc__content"><ol class="toc"><li class="toc-item toc-level-4"><a class="toc-link" href="#%E4%B8%BB%E9%A2%98%E6%8E%A8%E8%8D%90"><span class="toc-number">1.</span> <span class="toc-text">主题推荐</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E6%8F%92%E4%BB%B6%E6%8E%A8%E8%8D%90"><span class="toc-number">2.</span> <span class="toc-text">插件推荐</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E7%AE%A1%E7%90%86%E6%96%87%E6%A1%A3%E8%B5%84%E6%96%99"><span class="toc-number">3.</span> <span class="toc-text">管理文档资料</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E5%BF%AB%E6%8D%B7%E9%94%AE"><span class="toc-number">4.</span> <span class="toc-text">快捷键</span></a></li></ol></li></ol></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E9%80%89%E6%8B%A9%E7%B1%BB"><span class="toc-number"></span> <span class="toc-text">选择类</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E7%BC%96%E8%BE%91%E7%B1%BB"><span class="toc-number"></span> <span class="toc-text">编辑类</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%90%9C%E7%B4%A2%E7%B1%BB"><span class="toc-number"></span> <span class="toc-text">搜索类</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%98%BE%E7%A4%BA%E7%B1%BB-%E5%B1%8F%E5%B9%95"><span class="toc-number"></span> <span class="toc-text">显示类-屏幕</span></a></div></div><div class="author-info hide"><div class="author-info__avatar text-center"><img src="https://avatars.githubusercontent.com/u/5827823?v=4"></div><div class="author-info__name text-center">kyren</div><div class="author-info__description text-center">huluo的技术博客</div><div class="follow-button"><a target="_blank" rel="noopener" href="https://github.com/huluo666">Follow Me</a></div><hr><div class="author-info-articles"><a class="author-info-articles__archives article-meta" href="/archives"><span class="pull-left">文章</span><span class="pull-right">239</span></a><a class="author-info-articles__tags article-meta" href="/tags"><span class="pull-left">标签</span><span class="pull-right">41</span></a><a class="author-info-articles__categories article-meta" href="/categories"><span class="pull-left">分类</span><span class="pull-right">29</span></a></div><hr><div class="author-info-links"><div class="author-info-links__title text-center">Links</div><a class="author-info-links__name text-center" target="_blank" rel="noopener" href="http://192.168.2.212:9090/">Jira</a><a class="author-info-links__name text-center" target="_blank" rel="noopener" href="http://192.168.2.212:8090/">Confluence</a><a class="author-info-links__name text-center" target="_blank" rel="noopener" href="http://bloc.leniugame.com/">Leniu</a></div></div></div><div id="content-outer"><div class="no-bg" id="top-container"><div id="page-header"><span class="pull-left"> <a id="site-name" href="/">Kyren's Blog</a></span><i class="fa fa-bars toggle-menu pull-right" aria-hidden="true"></i><span class="pull-right menus">   <a class="site-page" href="/">主页</a><a class="site-page" href="/essay">随笔</a><a class="site-page" href="/archives">归档</a><a class="site-page" href="/tags">标签</a><a class="site-page" href="/categories">分类</a><a class="site-page" href="/about">关于</a></span><span class="pull-right"><a class="site-page social-icon search"><i class="fa fa-search"></i><span> 搜索</span></a></span></div><div id="post-info"><div id="post-title">优雅的使用Sublime-Text3</div><div id="post-meta"><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2018-03-29</time></div></div></div><div class="layout" id="content-inner"><article id="post"><div class="article-container" id="post-content"><p><a target="_blank" rel="noopener" href="https://www.sublimetext.com/">https://www.sublimetext.com/</a><br><a target="_blank" rel="noopener" href="http://www.sublimetextcn.com/">http://www.sublimetextcn.com/</a></p>
<p>如何安装插件详见：<a target="_blank" rel="noopener" href="https://link.jianshu.com/?t=https://packagecontrol.io/installation">https://packagecontrol.io/installation</a></p>
<p>安装方法：</p>
<p><code>Cmd+Shift+P</code>-&gt;<code>install package</code> -&gt; 输入主题名Theme</p>
<p>推荐使用<a target="_blank" rel="noopener" href="https://packagecontrol.io/">package Control</a>安装</p>
<p>Boxy主题安装</p>
<p>1、<code>Cmd+Shift+P-&gt;install package</code> -&gt; Boxy Theme</p>
<p>2、<code>Cmd+Shift+P-&gt;install package</code> -&gt; A File Icon</p>
<p>主题选择-<code>Preferences-&gt;Color Theme</code></p>
<p>使用ColorSublime插件浏览主题</p>
<p><a target="_blank" rel="noopener" href="https://link.jianshu.com/?t=http://colorsublime.com/">ColorSublime</a>：Sublime主题网站</p>
<p><a target="_blank" rel="noopener" href="https://link.jianshu.com/?t=https://github.com/Colorsublime/Colorsublime-Plugin">ColorSublime插件</a> ：主题实时预览插件，推荐使用<code>Package Control</code>安装，安装完可以使用在控制面板中移动上下箭头就可以预览，回车即可安装。</p>
<p>使用：<code>Cmd+Shift+P</code>-&gt;<code>UI:Select Theme</code></p>
<p><code>esc</code>–退出当前操作</p>
<h4 id="主题推荐"><a href="#主题推荐" class="headerlink" title="主题推荐"></a>主题推荐</h4><p>Spacegray<br>ayu<br>Material<br>GitHub<br>Solarized<br>Soda</p>
<h4 id="插件推荐"><a href="#插件推荐" class="headerlink" title="插件推荐"></a>插件推荐</h4><p>SideBarEnhancements-左侧文件管理栏增强</p>
<p>Markdown Extended-让sublime text支持markdown，并支持预览。</p>
<p>Alignment —代码对齐</p>
<p>ColorPicker-调色板</p>
<p>TrailingSpaces-检测并一键去除代码中多余的空格</p>
<p>SublimeCodeIntel<br>代码提示和补全插件，支持 JavaScript、Mason、XBL、XUL、RHTML、SCSS、Python、HTML、Ruby、Python3、XML、Sass、XSLT、Django、HTML5、Perl、CSS、Twig、Less、Smarty、Node.js、Tcl、TemplateToolkit 和 PHP 等所有语言<br>SublimeLinter<br>一个支持lint语法的插件，可以高亮linter认为有错误的代码行，也支持高亮一些特别的注释<br>ChineseLocalization–汉化</p>
<p>插件推荐</p>
<p><a target="_blank" rel="noopener" href="http://www.cnblogs.com/hykun/p/sublimeText3.html">http://www.cnblogs.com/hykun/p/sublimeText3.html</a></p>
<p><strong>卸载插件</strong></p>
<p>按<code>ctr+shift +p</code>然后输入remove 回车，再输入要删除的插件名</p>
<p>小技巧：点击文件进行编辑模式，再次点击失去编辑模式。这样键盘上下键可以快速浏览文件</p>
<h4 id="管理文档资料"><a href="#管理文档资料" class="headerlink" title="管理文档资料"></a>管理文档资料</h4><p>一直用Typora写文档资料，但Typora没有文档管理功能，使用Sublime直接拖入文件夹即可。可以查看源码格式。</p>
<p>批量替换<br>hexo主题objective-c无法高亮，使用“objectivec”字段进行高亮<br>Find-&gt;Find in files（⌘+shift+F）–替换后记得保存所有-&gt;File-save-all(⌘+control+s)</p>
<p><strong>相关插件</strong><br>MarkdownEditing —语法高亮，快捷键</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">⌘+option+V 选中的内容将自动转换为行内式超链接，链接到剪贴板中的内容</span><br><span class="line">⌘+option+R 选中的内容将自动转换为参考式超链接，链接到剪贴板中的内容</span><br><span class="line">⌘+Shift+K 插入一个标准的行内式图片</span><br></pre></td></tr></table></figure>

<p>Typora -用Typora打开插件<br>DeleteBlankLines-删除空行，选择需要删除空行的文本，⌘+shift+p，选择delete blank lines</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">⌘+Alt+Delete             删除所有空行</span><br><span class="line">⌘+Alt+Shift+Delete       删除多余空行</span><br></pre></td></tr></table></figure>


<p>在相同窗口打开文件</p>
<p>每次点击一个文件都会打开新的窗口，然后自己手动关闭</p>
<p>How to open files in the same window?</p>
<p>Anwer:select <strong>Preferences -&gt; Settings-User</strong> and add</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&quot;open_files_in_new_window&quot;: false</span><br></pre></td></tr></table></figure>

<p>这样单击不会再新窗口打开，双击新窗口打开文件</p>
<p>搜索：</p>
<ul>
<li>用 <code>⌘ + P</code> 可以快速跳转到当前项目中的任意文件，可进行关键词匹配。</li>
<li>用 <code>⌘ + P</code> 后 <code>@</code> (或是<code>⌘ +R</code>)可以快速列出&#x2F;跳转到某个函数</li>
</ul>
<h4 id="快捷键"><a href="#快捷键" class="headerlink" title="快捷键"></a>快捷键</h4><ul>
<li><strong>⌘</strong>&#x3D; Command key</li>
<li><strong>⌃</strong>*&#x3D;Control key</li>
<li><strong>⌥</strong>&#x3D;Option key</li>
<li><strong>⇧</strong>&#x3D;Shift Key</li>
</ul>
<p>快捷键在线练习：<a target="_blank" rel="noopener" href="https://www.shortcutfoo.com/app">https://www.shortcutfoo.com/app</a></p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br></pre></td><td class="code"><pre><span class="line">⌘+Shift+P：打开命令面板</span><br><span class="line">⌘+P：搜索项目中的文件</span><br><span class="line">⌘+G：跳转到第几行</span><br><span class="line">⌘+W：关闭当前打开文件</span><br><span class="line">⌘+Shift+W：关闭所有打开文件</span><br><span class="line">⌘+Shift+V：粘贴并格式化</span><br><span class="line">⌘+D：选择单词，重复可增加选择下一个相同的单词</span><br><span class="line">⌘+L：选择行，重复可依次增加选择下一行</span><br><span class="line">⌘+Shift+L：选择多行</span><br><span class="line">⌘+Shift+Enter：在当前行前插入新行</span><br><span class="line">⌘+X：删除当前行</span><br><span class="line">⌘+M：跳转到对应括号</span><br><span class="line">⌘+U：软撤销，撤销光标位置</span><br><span class="line">⌘+J：选择标签内容</span><br><span class="line">⌘+F：查找内容</span><br><span class="line">⌘+Shift+F：查找并替换</span><br><span class="line">⌘+H：替换</span><br><span class="line">⌘+R：前往 method</span><br><span class="line">⌘+N：新建窗口</span><br><span class="line">⌘+K+B：开关侧栏</span><br><span class="line">⌘+Shift+M：选中当前括号内容，重复可选着括号本身</span><br><span class="line">⌘+F2：设置/删除标记</span><br><span class="line">⌘+/：注释当前行</span><br><span class="line">⌘+Shift+/：当前位置插入注释</span><br><span class="line">⌘+Alt+/：块注释，并Focus到首行，写注释说明用的</span><br><span class="line">⌘+Shift+A：选择当前标签前后，修改标签用的</span><br><span class="line">F11：全屏</span><br><span class="line">Shift+F11：全屏免打扰模式，只编辑当前文件</span><br><span class="line">Alt+F3：选择所有相同的词</span><br><span class="line">Alt+.：闭合标签</span><br><span class="line">Alt+Shift+数字：分屏显示</span><br><span class="line">Alt+数字：切换打开第N个文件</span><br><span class="line">Shift+右键拖动：光标多不，用来更改或插入列内容</span><br><span class="line">鼠标的前进后退键可切换Tab文件</span><br><span class="line">按⌘，依次点击或选取，可需要编辑的多个位置</span><br><span class="line">按⌘+Shift+上下键，可替换行</span><br></pre></td></tr></table></figure>


<h1 id="选择类"><a href="#选择类" class="headerlink" title="选择类"></a>选择类</h1><p>⌘+D 选中光标所占的文本，继续操作则会选中下一个相同的文本。<br>Alt+F3 选中文本按下快捷键，即可一次性选择全部的相同文本进行同时编辑。举个栗子：快速选中并更改所有相同的变量名、函数名等。<br>⌘+L 选中整行，继续操作则继续选择下一行，效果和 Shift+↓ 效果一样。<br>⌘+Shift+L 先选中多行，再按下快捷键，会在每行行尾插入光标，即可同时编辑这些行。<br>⌘+Shift+M 选择括号内的内容（继续选择父括号）。举个栗子：快速选中删除函数中的代码，重写函数体代码或重写括号内里的内容。<br>⌘+M 光标移动至括号内结束或开始的位置。<br>⌘+Enter 在下一行插入新行。举个栗子：即使光标不在行尾，也能快速向下插入一行。<br>⌘+Shift+Enter 在上一行插入新行。举个栗子：即使光标不在行首，也能快速向上插入一行。<br>⌘+Shift+[ 选中代码，按下快捷键，折叠代码。<br>⌘+Shift+] 选中代码，按下快捷键，展开代码。<br>⌘+K+0 展开所有折叠代码。<br>⌘+← 向左单位性地移动光标，快速移动光标。<br>⌘+→ 向右单位性地移动光标，快速移动光标。<br>shift+↑ 向上选中多行。<br>shift+↓ 向下选中多行。<br>Shift+← 向左选中文本。<br>Shift+→ 向右选中文本。<br>⌘+Shift+← 向左单位性地选中文本。<br>⌘+Shift+→ 向右单位性地选中文本。<br>⌘+Shift+↑ 将光标所在行和上一行代码互换（将光标所在行插入到上一行之前）。<br>⌘+Shift+↓ 将光标所在行和下一行代码互换（将光标所在行插入到下一行之后）。<br>⌘+Alt+↑ 向上添加多行光标，可同时编辑多行。<br>⌘+Alt+↓ 向下添加多行光标，可同时编辑多行。</p>
<h1 id="编辑类"><a href="#编辑类" class="headerlink" title="编辑类"></a>编辑类</h1><p>⌘+J 合并选中的多行代码为一行。举个栗子：将多行格式的CSS属性合并为一行。<br>⌘+Shift+D 复制光标所在整行，插入到下一行。<br>Tab 向右缩进。<br>Shift+Tab 向左缩进。<br>⌘+K+K 从光标处开始删除代码至行尾。<br>⌘+Shift+K 删除整行。<br>⌘+&#x2F; 注释单行。<br>⌘+Shift+&#x2F; 注释多行。<br>⌘+K+U 转换大写。<br>⌘+K+L 转换小写。<br>⌘+Z 撤销。<br>⌘+Y 恢复撤销。<br>⌘+U 软撤销，感觉和 Gtrl+Z 一样。<br>⌘+F2 设置书签<br>⌘+T 左右字母互换。<br>F6 单词检测拼写</p>
<h1 id="搜索类"><a href="#搜索类" class="headerlink" title="搜索类"></a>搜索类</h1><p>⌘+F 打开底部搜索框，查找关键字。<br>⌘+shift+F 在文件夹内查找，与普通编辑器不同的地方是sublime允许添加多个文件夹进行查找，略高端，未研究。<br>⌘+P 打开搜索框。举个栗子：1、输入当前项目中的文件名，快速搜索文件，2、输入@和关键字，查找文件中函数名，3、输入：和数字，跳转到文件中该行代码，4、输入#和关键字，查找变量名。<br>⌘+G 打开搜索框，自动带：，输入数字跳转到该行代码。举个栗子：在页面代码比较长的文件中快速定位。<br>⌘+R 打开搜索框，自动带@，输入关键字，查找文件中的函数名。举个栗子：在函数较多的页面快速查找某个函数。<br>⌘+： 打开搜索框，自动带#，输入关键字，查找文件中的变量名、属性名等。<br>⌘+Shift+P 打开命令框。场景栗子：打开命名框，输入关键字，调用sublime text或插件的功能，例如使用package安装插件。<br>Esc 退出光标多行选择，退出搜索框，命令框等。</p>
<h1 id="显示类-屏幕"><a href="#显示类-屏幕" class="headerlink" title="显示类-屏幕"></a>显示类-屏幕</h1><p>⌘+Tab 按文件浏览过的顺序，切换当前窗口的标签页。<br>⌘+PageDown 向左切换当前窗口的标签页。<br>⌘+PageUp 向右切换当前窗口的标签页。<br>Alt+Shift+1 窗口分屏，恢复默认1屏（非小键盘的数字）<br>Alt+Shift+2 左右分屏-2列<br>Alt+Shift+3 左右分屏-3列<br>Alt+Shift+4 左右分屏-4列<br>Alt+Shift+5 等分4屏<br>Alt+Shift+8 垂直分屏-2屏<br>Alt+Shift+9 垂直分屏-3屏<br>⌘+K+B 开启&#x2F;关闭侧边栏。<br>F11 全屏模式<br>Shift+F11 免打扰模式</p>
<p><code>update</code><br>⌘+k+2 折叠注释和方法<br>⌘+k+3 折叠if<br>⌘+k+4 折叠switch</p>
<p><a target="_blank" rel="noopener" href="http://zh.lucida.me/blog/sublime-text-complete-guide/">Sublime Text 全程指南</a></p>
</div></article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">kyren</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="http://huluo666.gitee.io/2018/03/29/优雅的使用Sublime-Text3/">http://huluo666.gitee.io/2018/03/29/优雅的使用Sublime-Text3/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="http://huluo666.gitee.io">Kyren's Blog</a>！</span></div></div><div class="post-meta__tag-list"></div><nav id="pagination"><div class="prev-post pull-left"><a href="/2018/03/30/Xcode%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81/"><i class="fa fa-chevron-left">  </i><span>Xcode格式化代码</span></a></div><div class="next-post pull-right"><a href="/2018/03/27/iOS%E5%86%85%E5%AD%98%E6%B3%84%E6%BC%8F/"><span>iOS内存泄漏</span><i class="fa fa-chevron-right"></i></a></div></nav></div></div><footer><div class="layout" id="footer"><div class="copyright">&copy;2022 By kyren</div><div class="framework-info"><span>驱动 - </span><a target="_blank" rel="noopener" href="http://hexo.io"><span>Hexo</span></a><span class="footer-separator">|</span><span>主题 - </span><a target="_blank" rel="noopener" href="https://github.com/Molunerfinn/hexo-theme-melody"><span>Melody</span></a></div><div class="footer_custom_text">hitokoto</div><div class="busuanzi"><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><span id="busuanzi_container_page_pv"><i class="fa fa-file"></i><span id="busuanzi_value_page_pv"></span><span></span></span></div></div></footer><i class="fa fa-arrow-up" id="go-up" aria-hidden="true"></i><script src="https://cdn.jsdelivr.net/npm/animejs@latest/lib/anime.min.js"></script><script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-animate@latest/velocity.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-ui-pack@latest/velocity.ui.min.js"></script><script src="/js/utils.js?version=1.9.0"></script><script src="/js/fancybox.js?version=1.9.0"></script><script src="/js/sidebar.js?version=1.9.0"></script><script src="/js/copy.js?version=1.9.0"></script><script src="/js/fireworks.js?version=1.9.0"></script><script src="/js/transition.js?version=1.9.0"></script><script src="/js/scroll.js?version=1.9.0"></script><script src="/js/head.js?version=1.9.0"></script><script src="/js/search/local-search.js"></script><script>if(/Android|webOS|iPhone|iPod|iPad|BlackBerry/i.test(navigator.userAgent)) {
  $('#nav').addClass('is-mobile')
  $('footer').addClass('is-mobile')
  $('#top-container').addClass('is-mobile')
}</script><div class="search-dialog" id="local-search"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章"></div></div></div><hr><div id="local-search-results"><div id="local-hits"></div><div id="local-stats"><div class="local-search-stats__hr" id="hr"><span>由</span> <a target="_blank" rel="noopener" href="https://github.com/wzpan/hexo-generator-search" style="color:#49B1F5;">hexo-generator-search</a>
 <span>提供支持</span></div></div></div><span class="search-close-button"><i class="fa fa-times"></i></span></div><div class="search-mask"></div></body></html>